﻿@page
@using DashboardDemo.Web.Pages.Shared.Components.MySimpleWidget
@model DashboardDemo.Web.Pages.MyWidgetsModel

@* Example usage by widget name *@
@await Component.InvokeAsync("MySimpleWidget", new { name = "John" })

<hr />

@* Example usage by widget type *@
@await Component.InvokeAsync(typeof(MySimpleWidgetViewComponent), new { name = "Mete" })